<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>后台管理系统-登录页</title>
    <!-- 导入LayUI样式文件 -->
    <link rel="stylesheet" type="text/css" href="./assets/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="./assets/css/login1.css">
    <link rel="stylesheet" href="./assets/css/QVerify.min.css">
    <style>
        #particles {
            position: absolute;
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body>
    <!-- 粒子html -->
    <div id="particles">
        <div class="intro">
            <h1></h1>
            <p></p>
        </div>
    </div>
    <div id="QVerify" style="visibility: hidden"></div>
    <div class="layui-container">
        <div class="admin-login-background">
            <!-- 登录表单 -->
            <div class="login-form" id="login-box">
                <!-- <div id="QVerify"></div> -->
                <form class="layui-form" action="" id="form-login">
                    <div class="layui-form-item logo-title">
                        <h1>大事件登录系统</h1>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-username" for="username"></label>
                        <input type="text" name="username" lay-verify="required" placeholder="用户名或者邮箱"
                            autocomplete="off" class="layui-input" value="">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-password" for="password"></label>
                        <input type="password" name="password" lay-verify="required|pwd" placeholder="密码"
                            autocomplete="off" class="layui-input" value="">
                    </div>
                    <div class="layui-btn layui-btn layui-btn-normal layui-btn-fluid" id="yz">登录</div>
                    <br><br>
                    <!-- <div class="layui-form-item">
                        <button class="layui-btn layui-btn layui-btn-normal layui-btn-fluid" lay-submit=""
                            lay-filter="login">登 录</button>
                    </div> -->
                    <div class="layui-form-item links">
                        <a href="javascript:;" id="link_reg">去注册</a>
                    </div>
                </form>

            </div>
            <!-- 注册表单 -->
            <div class="login-form" id="reg-box" style="display: none;">
                <!-- 注册的表单 -->
                <form class="layui-form" action="" id="form_reg">
                    <div class="layui-form-item logo-title">
                        <h1>大事件登录系统</h1>
                    </div>
                    <!-- 用户名 -->
                    <div class="layui-form-item">
                        <i class="layui-icon layui-icon-username"></i>
                        <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
                            autocomplete="off" class="layui-input" />
                    </div>
                    <!-- 密码 -->
                    <div class="layui-form-item">
                        <i class="layui-icon layui-icon-password"></i>
                        <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                            autocomplete="off" class="layui-input" />
                    </div>
                    <!-- 密码确认框 -->
                    <div class="layui-form-item">
                        <i class="layui-icon layui-icon-password"></i>
                        <input type="password" name="repassword" required lay-verify="required|pwd|repwd"
                            placeholder="再次确认密码" autocomplete="off" class="layui-input" />
                    </div>
                    <!-- 注册按钮 -->
                    <div class="layui-form-item">
                        <!-- 注意：表单提交按钮和普通按钮的区别，就是 lay-submit 属性 -->
                        <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>注册</button>
                    </div>
                    <div class="layui-form-item links">
                        <a href="javascript:;" id="link_login">去登录</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="./assets/jquery/jquery-3.5.1.js"></script>
    <script type="text/javascript" src="./assets/layui/layui.all.js"></script>
    <script src="./assets/QVerify.min.js"></script>
    <!-- 引入粒子js -->
    <script src="./assets/js/jquery.particleground.min.js"></script>
    <!-- 引入baseApi -->
    <script src="./assets/js/baseAPI.js"></script>
    <!-- 导入自己的js文件 -->
    <script src="./assets/js/login.js"></script>

</body>

</html>